package com.aerotechnic.dao.interfaces;

import java.util.List;

import com.aerotechnic.entities.MacroTache;

public interface MacroTacheDaoIn {

void save(MacroTache myEntity);//before inserting make sure that the id is not duplicated if it's not save the object and return true otherwise restrict saving and return false
    
    void update(MacroTache myEntity);
    
    void delete(Long id);

    MacroTache findByID(Long id);
    
    List<MacroTache> findAll();
    
    List<MacroTache> getMacoTachesByIds(String [] ids);

}
